.class public Lcom/example/m6wmr/IntegralExchangeOperationActivity;
.super Landroid/app/Activity;
.source "IntegralExchangeOperationActivity.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/example/m6wmr/IntegralExchangeOperationActivity$mOnclistener;
    }
.end annotation


# instance fields
.field private activities:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Landroid/app/Activity;",
            ">;"
        }
    .end annotation
.end field

.field private address:Ljava/lang/String;

.field private allIntegral:I

.field private closebtn:Landroid/widget/LinearLayout;

.field private contacterAddress:Ljava/lang/String;

.field private contacterName:Ljava/lang/String;

.field private contacterPhone:Ljava/lang/String;

.field private contentValues:Landroid/content/ContentValues;

.field private context:Landroid/content/Context;

.field private cursor:Landroid/database/Cursor;

.field private db:Landroid/database/sqlite/SQLiteDatabase;

.field private et_contacterAddress:Landroid/widget/EditText;

.field private et_contacterName:Landroid/widget/EditText;

.field private et_contacterPhone:Landroid/widget/EditText;

.field private et_leaveWord:Landroid/widget/EditText;

.field private getJsonString:Ljava/lang/String;

.field private gift_id:Ljava/lang/String;

.field private giftscore:I

.field private h:Landroid/os/Handler;

.field private leaveWord:Ljava/lang/String;

.field private m:Lmyapp/MyApp;

.field private name:Ljava/lang/String;

.field private needIntegral:I

.field private openHelper:Ldbclass/DBOpenHelper;

.field private phone:Ljava/lang/String;

.field private progressDialog:Landroid/app/ProgressDialog;

.field private tv_goingExchange:Landroid/widget/TextView;


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 42
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/example/m6wmr/IntegralExchangeOperationActivity;)Landroid/os/Handler;
    .locals 1

    .prologue
    .line 53
    iget-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->h:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic access$1(Lcom/example/m6wmr/IntegralExchangeOperationActivity;)I
    .locals 1

    .prologue
    .line 68
    iget v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->giftscore:I

    return v0
.end method

.method static synthetic access$10(Lcom/example/m6wmr/IntegralExchangeOperationActivity;)Landroid/widget/EditText;
    .locals 1

    .prologue
    .line 59
    iget-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->et_contacterPhone:Landroid/widget/EditText;

    return-object v0
.end method

.method static synthetic access$11(Lcom/example/m6wmr/IntegralExchangeOperationActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 81
    iget-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->phone:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$12(Lcom/example/m6wmr/IntegralExchangeOperationActivity;)I
    .locals 1

    .prologue
    .line 65
    iget v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->needIntegral:I

    return v0
.end method

.method static synthetic access$13(Lcom/example/m6wmr/IntegralExchangeOperationActivity;)Landroid/widget/EditText;
    .locals 1

    .prologue
    .line 61
    iget-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->et_leaveWord:Landroid/widget/EditText;

    return-object v0
.end method

.method static synthetic access$14(Lcom/example/m6wmr/IntegralExchangeOperationActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 70
    iput-object p1, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->contacterName:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$15(Lcom/example/m6wmr/IntegralExchangeOperationActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 71
    iput-object p1, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->contacterPhone:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$16(Lcom/example/m6wmr/IntegralExchangeOperationActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 72
    iput-object p1, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->contacterAddress:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$17(Lcom/example/m6wmr/IntegralExchangeOperationActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 73
    iput-object p1, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->leaveWord:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$18(Lcom/example/m6wmr/IntegralExchangeOperationActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 77
    iget-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->gift_id:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$19(Lcom/example/m6wmr/IntegralExchangeOperationActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 72
    iget-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->contacterAddress:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$2(Lcom/example/m6wmr/IntegralExchangeOperationActivity;)I
    .locals 1

    .prologue
    .line 66
    iget v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->allIntegral:I

    return v0
.end method

.method static synthetic access$20(Lcom/example/m6wmr/IntegralExchangeOperationActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 70
    iget-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->contacterName:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$21(Lcom/example/m6wmr/IntegralExchangeOperationActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 71
    iget-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->contacterPhone:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$22(Lcom/example/m6wmr/IntegralExchangeOperationActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 75
    iput-object p1, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->getJsonString:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$3(Lcom/example/m6wmr/IntegralExchangeOperationActivity;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 63
    iget-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->tv_goingExchange:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$4(Lcom/example/m6wmr/IntegralExchangeOperationActivity;)Landroid/content/Context;
    .locals 1

    .prologue
    .line 50
    iget-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->context:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$5(Lcom/example/m6wmr/IntegralExchangeOperationActivity;)Lmyapp/MyApp;
    .locals 1

    .prologue
    .line 44
    iget-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->m:Lmyapp/MyApp;

    return-object v0
.end method

.method static synthetic access$6(Lcom/example/m6wmr/IntegralExchangeOperationActivity;)Landroid/widget/EditText;
    .locals 1

    .prologue
    .line 60
    iget-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->et_contacterAddress:Landroid/widget/EditText;

    return-object v0
.end method

.method static synthetic access$7(Lcom/example/m6wmr/IntegralExchangeOperationActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 80
    iget-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->address:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$8(Lcom/example/m6wmr/IntegralExchangeOperationActivity;)Landroid/widget/EditText;
    .locals 1

    .prologue
    .line 58
    iget-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->et_contacterName:Landroid/widget/EditText;

    return-object v0
.end method

.method static synthetic access$9(Lcom/example/m6wmr/IntegralExchangeOperationActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 79
    iget-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->name:Ljava/lang/String;

    return-object v0
.end method

.method private initData()V
    .locals 3

    .prologue
    .line 333
    invoke-virtual {p0}, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lmyapp/MyApp;

    iput-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->m:Lmyapp/MyApp;

    .line 334
    iget-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v0}, Lmyapp/MyApp;->getActivity()Ljava/util/ArrayList;

    move-result-object v0

    iput-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->activities:Ljava/util/ArrayList;

    .line 335
    iget-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->activities:Ljava/util/ArrayList;

    invoke-virtual {v0, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 336
    iput-object p0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->context:Landroid/content/Context;

    .line 338
    new-instance v0, Ldbclass/DBOpenHelper;

    iget-object v1, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->context:Landroid/content/Context;

    invoke-direct {v0, v1}, Ldbclass/DBOpenHelper;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->openHelper:Ldbclass/DBOpenHelper;

    .line 339
    new-instance v0, Landroid/content/ContentValues;

    invoke-direct {v0}, Landroid/content/ContentValues;-><init>()V

    iput-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->contentValues:Landroid/content/ContentValues;

    .line 340
    iget-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->openHelper:Ldbclass/DBOpenHelper;

    invoke-virtual {v0}, Ldbclass/DBOpenHelper;->getReadableDatabase()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v0

    iput-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->db:Landroid/database/sqlite/SQLiteDatabase;

    .line 342
    invoke-virtual {p0}, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "id"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->gift_id:Ljava/lang/String;

    .line 344
    invoke-virtual {p0}, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "allintegral"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    iput v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->allIntegral:I

    .line 345
    invoke-virtual {p0}, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "giftscore"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    iput v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->giftscore:I

    .line 348
    const-string v0, "itengeral"

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget v2, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->allIntegral:I

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    iget v2, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->giftscore:I

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 351
    return-void
.end method

.method private initView()V
    .locals 1

    .prologue
    .line 89
    const v0, 0x7f0c0001

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->closebtn:Landroid/widget/LinearLayout;

    .line 90
    const v0, 0x7f0c00c4

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->et_contacterName:Landroid/widget/EditText;

    .line 91
    const v0, 0x7f0c00c5

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->et_contacterPhone:Landroid/widget/EditText;

    .line 92
    const v0, 0x7f0c00c6

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->et_contacterAddress:Landroid/widget/EditText;

    .line 93
    const v0, 0x7f0c00c7

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->et_leaveWord:Landroid/widget/EditText;

    .line 94
    const v0, 0x7f0c00c8

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->tv_goingExchange:Landroid/widget/TextView;

    .line 96
    return-void
.end method

.method private onClickListener()V
    .locals 3

    .prologue
    .line 358
    iget-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->closebtn:Landroid/widget/LinearLayout;

    new-instance v1, Lcom/example/m6wmr/IntegralExchangeOperationActivity$mOnclistener;

    const/4 v2, 0x0

    invoke-direct {v1, p0, v2}, Lcom/example/m6wmr/IntegralExchangeOperationActivity$mOnclistener;-><init>(Lcom/example/m6wmr/IntegralExchangeOperationActivity;Lcom/example/m6wmr/IntegralExchangeOperationActivity$mOnclistener;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 360
    return-void
.end method


# virtual methods
.method protected isNull()Z
    .locals 6

    .prologue
    const/4 v3, 0x0

    .line 282
    iget-object v4, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->contacterName:Ljava/lang/String;

    const-string v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_0

    .line 286
    iget-object v4, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->context:Landroid/content/Context;

    const-string v5, "\u6536\u8d27\u4eba\u59d3\u540d\u4e3a\u7a7a"

    invoke-static {v4, v5, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v4

    invoke-virtual {v4}, Landroid/widget/Toast;->show()V

    .line 321
    :goto_0
    return v3

    .line 291
    :cond_0
    iget-object v4, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->contacterAddress:Ljava/lang/String;

    const-string v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_1

    .line 295
    iget-object v4, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->context:Landroid/content/Context;

    const-string v5, "\u6536\u8d27\u4eba\u5730\u5740\u4e3a\u7a7a"

    invoke-static {v4, v5, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v4

    invoke-virtual {v4}, Landroid/widget/Toast;->show()V

    goto :goto_0

    .line 298
    :cond_1
    iget-object v4, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->contacterPhone:Ljava/lang/String;

    const-string v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_2

    .line 301
    iget-object v4, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->context:Landroid/content/Context;

    const-string v5, "\u6536\u8d27\u4eba\u7535\u8bdd\u4e3a\u7a7a"

    invoke-static {v4, v5, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v4

    invoke-virtual {v4}, Landroid/widget/Toast;->show()V

    goto :goto_0

    .line 307
    :cond_2
    iget-object v2, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->contacterPhone:Ljava/lang/String;

    .line 309
    .local v2, "value":Ljava/lang/String;
    const-string v4, "^((13[0-9])|(15[0-9])|(18[0-9])|(17[0-9]))\\d{8}$"

    invoke-static {v4}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;

    move-result-object v1

    .line 311
    .local v1, "p":Ljava/util/regex/Pattern;
    invoke-virtual {v1, v2}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;

    move-result-object v0

    .line 313
    .local v0, "ms":Ljava/util/regex/Matcher;
    invoke-virtual {v0}, Ljava/util/regex/Matcher;->find()Z

    move-result v4

    if-nez v4, :cond_3

    .line 315
    iget-object v4, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->context:Landroid/content/Context;

    const-string v5, "\u624b\u673a\u53f7\u7801\u6709\u8bef"

    invoke-static {v4, v5, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v4

    invoke-virtual {v4}, Landroid/widget/Toast;->show()V

    goto :goto_0

    .line 321
    :cond_3
    const/4 v3, 0x1

    goto :goto_0
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 5
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 101
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 102
    const v2, 0x7f030020

    invoke-virtual {p0, v2}, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->setContentView(I)V

    .line 104
    invoke-direct {p0}, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->initData()V

    .line 106
    invoke-direct {p0}, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->initView()V

    .line 108
    const-string v2, "addrInfo"

    const/4 v3, 0x0

    invoke-virtual {p0, v2, v3}, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v0

    .line 109
    .local v0, "sharedPreferences":Landroid/content/SharedPreferences;
    const-string v2, "\u5151\u6362\u79ef\u5206\u5730\u5740---------\u300b\u300b\u300b"

    const-string v3, "name + address + phone"

    invoke-static {v2, v3}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 110
    const-string v2, "username"

    const-string v3, ""

    invoke-interface {v0, v2, v3}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->name:Ljava/lang/String;

    .line 111
    const-string v2, "addr"

    const-string v3, ""

    invoke-interface {v0, v2, v3}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->address:Ljava/lang/String;

    .line 112
    const-string v2, "tel"

    const-string v3, ""

    invoke-interface {v0, v2, v3}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->phone:Ljava/lang/String;

    .line 113
    const-string v2, "\u5151\u6362\u79ef\u5206\u5730\u5740---------\u300b\u300b\u300b"

    new-instance v3, Ljava/lang/StringBuilder;

    iget-object v4, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->name:Ljava/lang/String;

    invoke-static {v4}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v4, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->address:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v4, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->phone:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "dsas"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 114
    const/high16 v2, 0x7f0c0000

    invoke-virtual {p0, v2}, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    .line 115
    .local v1, "top":Landroid/widget/LinearLayout;
    iget-object v2, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v2}, Lmyapp/MyApp;->getAppcolor()Ljava/lang/String;

    move-result-object v2

    const-string v3, "1"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    .line 116
    const v2, 0x7f070026

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    .line 120
    :cond_0
    invoke-direct {p0}, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->onClickListener()V

    .line 122
    new-instance v2, Lcom/example/m6wmr/IntegralExchangeOperationActivity$1;

    invoke-direct {v2, p0}, Lcom/example/m6wmr/IntegralExchangeOperationActivity$1;-><init>(Lcom/example/m6wmr/IntegralExchangeOperationActivity;)V

    iput-object v2, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->h:Landroid/os/Handler;

    .line 270
    iget-object v2, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->h:Landroid/os/Handler;

    const/4 v3, 0x2

    invoke-virtual {v2, v3}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 272
    return-void
.end method

.method protected onDestroy()V
    .locals 1

    .prologue
    .line 394
    invoke-super {p0}, Landroid/app/Activity;->onDestroy()V

    .line 395
    iget-object v0, p0, Lcom/example/m6wmr/IntegralExchangeOperationActivity;->db:Landroid/database/sqlite/SQLiteDatabase;

    invoke-virtual {v0}, Landroid/database/sqlite/SQLiteDatabase;->close()V

    .line 398
    return-void
.end method

.method protected onStart()V
    .locals 0

    .prologue
    .line 384
    invoke-super {p0}, Landroid/app/Activity;->onStart()V

    .line 387
    return-void
.end method
